package com.xiaoc.bulldozer.common.model;

import java.awt.*;
import java.awt.image.BufferedImage;

/**
 * describe:
 *
 * @author lihuancheng
 * @date 2018/9/14
 */
public class Material {
    private BufferedImage bufferedImage;

    private Graphics2D graphics2D;


    public Material() {
    }


    public Material(BufferedImage bufferedImage, Graphics2D graphics2D) {
        this.bufferedImage = bufferedImage;
        this.graphics2D = graphics2D;
    }

    public BufferedImage getBufferedImage() {
        return bufferedImage;
    }

    public void setBufferedImage(BufferedImage bufferedImage) {
        this.bufferedImage = bufferedImage;
    }

    public Graphics2D getGraphics2D() {
        return graphics2D;
    }

    public void setGraphics2D(Graphics2D graphics2D) {
        this.graphics2D = graphics2D;
    }
}
